Spread Silverlight Documentation
Insert Method (NotifyCollectionBase<T>)


GrapeCity.Windows.SpreadSheet.Data Namespace > NotifyCollectionBase<T> Class : Insert Method
The zero-based index at which to insert the item.
The new item.
Inserts an item at a specified index.
Syntax
'Declaration
 
Public Overridable Sub Insert( _
   ByVal index As System.Integer, _
   ByVal item As T _
) 
'Usage
 
Dim instance As NotifyCollectionBase(Of T)
Dim index As System.Integer
Dim item As T
 
instance.Insert(index, item)
public virtual void Insert( 
   System.int index,
   T item
)

Parameters

index
The zero-based index at which to insert the item.
item
The new item.
Exceptions
ExceptionDescription
The collection is read-only.
See Also

Reference

NotifyCollectionBase<T> Class
NotifyCollectionBase<T> Members